<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0033)http://p.weigouyi.com/login.shtml -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


<title>商家登录</title>
<meta name="description"
	content="">


<meta name="keywords"
	content="">

<meta name="keywords"
	content="">


<link rel="icon" href="assets/logo/app-icon.png">
	

<link rel="stylesheet" href="<?php  echo  Yii::app()->request->baseUrl ?>/assets/goods/bootstrap.css">

<link rel="bookmark"
	href="assets/logo/app-icon.png"
	type="image/x-icon">


<link rel="shortcut icon"
	href="assets/logo/app-icon.png"
	type="image/x-icon">
	
	
<script src="assets/goods/bootstrap.min.js"></script>
<link rel="stylesheet" href="<?php  echo  Yii::app()->request->baseUrl ?>/assets/goods/jquery.ui.css">
<link rel="stylesheet" href="<?php  echo  Yii::app()->request->baseUrl ?>/assets/goods/bootstrap.css">



<link href="css/index/base.css" type="text/css" rel="stylesheet">


<link href="css/index/passport.css" type="text/css" rel="stylesheet">

<style>

.check{font-size:12px;margin-top: -5px }
</style>


<!--[if IE 7]>
    <style type="text/css">
        #btnLogin{border:0;}
    </style>
    <![endif]-->

<link href="css/index/ec_layout.css" rel="stylesheet"
	rev="stylesheet" type="text/css" media="all">


<link href="css/index/layout.css" rel="stylesheet"
	rev="stylesheet" type="text/css" media="all">
    <script src="assets/goods/jquery.js"></script>
	
<script src="assets/goods/bootstrap.min.js"></script>
    

<link href="css/index/layout_box.css" rel="stylesheet"
	rev="stylesheet" type="text/css" media="all">

<link rel="stylesheet" href="<?php  echo  Yii::app()->request->baseUrl ?>/assets/goods/bootstrap.css">
	

</head>
<body>
	
	<div id="ec_cs_pannel"
		style="position: absolute; z-index: 65001; top: 120px; right: 10px; background-color: rgb(255, 255, 255);">
		<table border="0" cellpadding="0" cellspacing="0"
			style="margin-top: -5px; background: url('') no-repeat 0 0;">
			<thead id="ec_cs_pannel_top">
			</thead>
			
		
		</table>
	</div>
	<div id="hid_cs_pannel"
		style="position: absolute; z-index: 65000; top: 120px; right: 10px; display: none;">
		<iframe id="ec_cs_iframe" name="ec_cs_iframe" style="display: none;"
			src="about:blank"></iframe>
	
	</div>


<?php
$form = $this->beginWidget ( 'CActiveForm', array (
		'id' => 'login-form',
		'htmlOptions' => array ('role' => 'form', 'class' => 'form-horizontal'),
		'action' => Yii::app ()->createUrl ( 'index/login_access') 
) );
?>
		<div>
			<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
				value="/wEPDwULLTIwNzE2OTQ1OTdkZEWCtAlt+o6QJpkp+AnBN823n0+N">
		
		</div>

		<div>
			<div class="login_bg" style="background:url(css/index/bimage.png) no-repeat"></div>
		</div>
		<div class="clear"></div>
		<div id="content" class="clearfix">
			<div class="logo">
				<a href="http://www.weigouyi.com/"> <img
					src="css/index/logo1.png"></a>
			</div>
			<div class="loginLeft">
				<img src="css/index/login_left.png">
			
			</div>
			<!--登陆窗口-->
			<div id="loginWrap">
			
				<div class="loginTab">
					<a href="<?php  echo  Yii::app()->request->baseUrl ?>/index.php?r=index"
						class="login_tab" style="background-image: url('css/index/loginbg.png');">登陆</a> <a
						href="<?php  echo  Yii::app()->request->baseUrl ?>/index.php?r=index/Register" class="reg_tab" style="background-image: url('css/index/loginbg.png');">注册</a>
					<div class="clear"></div>
				</div>
				
				<div id="modLoginWrap">
				
					<dl class="login-wrap" style="width: 400px">
						<dd>
							
							
								 <div class="input-prepend">
 			 					<span class="add-on">邮&nbsp;&nbsp;&nbsp;箱</span>
								  <?php echo $form->textField($model,'username', array('class'=>'')); ?>
  									</div>
								 
								 
									<span class="check" id="spName"><?php echo $form->error($model,'username'); ?></span>
							
						</dd>
						
						
						
							<dd>
							
								 <div class="input-prepend">
 			 					<span class="add-on">密&nbsp;&nbsp;&nbsp;码</span>
							      <?php echo $form->passwordField($model,'password', array('class'=>'form-control')); ?>
 			 					</div>
								 
								<span class="check" id="spName"><?php echo $form->error($model,'password'); ?></span>
 			 					
							
						</dd> 	 
					
						<dd class="rem" id="phraseLoginwarp">
						
						
								 <div class="input-prepend">
 			 					<span class="add-on">验证码</span>
							      <?php echo $form->textField($model,'verifyCode', array('style'=>'width:80px')); ?>
 			 					</div>
						
						
								
								<span style="margin-top: -8px" ><?php $this->widget('CCaptcha',array('showRefreshButton'=>false,'clickableImage'=>true,'imageOptions'=>array('alt'=>'点击换图','title'=>'点击换图','style'=>'cursor:pointer'))); ?></span>
							<span class="check" id="spName"><?php echo $form->error($model,'verifyCode'); ?></span>
								
						</dd>
					<!-- 	<dd class="find">
							<label> </label> <input type="checkbox" tabindex="4"
								name="iskeepalive" id="iskeepalive" checked="checked"> 下次自动登录 <a
								href="http://p.weigouyi.com/forgot.shtml" id="findPwd">忘记密码？</a>
						</dd> -->


						<dd class="logintip">
							<!--操作结果提示-->

						</dd>
						<dl>
						<input type="submit" name="btnLogin" value="登录" id="btnLogin"
							class="btn btn-primary" style="margin-left: 30%;width: 100px"/>
					
					</dl>
				</div>
			</div>
			<div class="clear"></div>
			<div class="login_foot">
				<img src="css/index/login_foot.png">
			
			</div>
		</div>
		<div class="clear"></div>
		<!---页面中间结束-->
		<!---------------------页面底部开始----------------------->
		<div id="footer">
			版权所有 © lijigou.com 2014 
		</div>

		
		<!---------------------页面底部结束----------------------->


		<div>

			<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
				value="/wEWBQK6w/WPDALEhISFCwKd+7qdDgLChPzDDQKC3IeGDG8/RzUtKrXFy1NZVPrPtBSfcVQx">
		
		</div>
	  
<?php $this->endWidget(); ?>

         <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h3 id="myModalLabel">注册提示</h3>
  </div>
  <div class="modal-body">
  
  
   <span style="text-align: center;margin-left: 35%">  注册成功,马上登录吧</span>
  
   
   
   
  </div>
  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" aria-hidden="true">确定</button>
  </div>
</div>
<script type="">
<?php if ($res!=null) {
echo  '$("#myModal").modal("show")';
	;
}?>
</script>

</body>


</html>